﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Lead2012.Models;
using Lead2012.Business;

namespace Lead2012.ViewModels
{
    public class LeadViewModel : BaseViewModel
    {
        public List<LeadManagementItem> LeadWarehouseList { get; set; }
        public List<FieldGroupInfo> ListTab { set; get; }
        public List<ItemFilter> StatusFilter { get; set; }
        public List<ItemFilter> GroupFilter { get; set; }
        public List<ItemFilter> UserFilter { get; set; }
        public List<ItemFilter> UserAssignFilter { get; set; }
        public List<ItemFilter> RangeFilter { get; set; }
        public string LeadSourceTitle { get; set; }
        public List<ItemFilter> LeadSource { set; get; }
        public string LeadTypeName { get; set; }
        public List<ItemFilter> LeadType { set; get; }
        public string LeadStatusName { get; set; }
        public List<ItemFilter> LeadStatus { get; set; }
        public List<LeadStatusLongItem> StatusLogList { get; set; }
        public LeadAppointmentsModel ListAppointment { set; get; }     

        public int LeadId { set; get; }
        public string User { set; get; }
        public string StatusId { get; set; }
        public string LeadSelected { get; set; }
        public string LeadTypeId { get; set; }
        public string LeadSourceId { get; set; }
        public bool NewLead { set; get; }
        public string LeadName { set; get; }
        public string DateAdd { set; get; }
        public string Status { set; get; }
        public string LastUpdateTime { get; set; }
        public string NextLead { get; set; }
        public string PrevLead { get; set; }
        public string FieldName1 { get; set; }
        public string FieldName2 { get; set; }
        public string StartDate { get; set; }
        public string EndDate { get; set; }
        public string LinkParams { get; set; }

        // Clause
        public string Filters { get; set; }
        public string WhereClause { get; set; }
        public string ColumnClause { get; set; }
        public string Ordered { get; set; }
    }
}
